/*
 * NetNode.h
 *
 *  Created on: Mar 27, 2011
 *      Author: xuh
 */

#ifndef NETNODE_H_
#define NETNODE_H_

#define HEAD 'r'	// for general list
#define BUF 'b'
#define CON 'm'
#define VIA 't'
#define LST 'l'	// for general list
#define LEAF 's'	// for general list


namespace Cxuh {

template<class Type>
class NetNode {
public:
	NetNode(char t);
	NetNode();
	virtual ~NetNode();
	char nodetype() const {return ntype;};
protected:
	char ntype;	// node type
};

}

#endif /* NETNODE_H_ */
